package com.bright.tactiviti.activiti.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bright.tactiviti.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("t_act_category")
@ApiModel("流程分类")
public class ActCategory extends BaseEntity {
    @ApiModelProperty("是否父节点")
    @TableField("is_parent")
    private Boolean isParent;

    @ApiModelProperty("父节点id")
    @TableField("parent_id")
    private String parentId;

    @ApiModelProperty("排序")
    @TableField("sort_order")
    private BigDecimal sortOrder;

    @ApiModelProperty("是否启用 默认为0 启用")
    private  Integer status = 0;

    @ApiModelProperty("分类标题")
    private String title;

    @ApiModelProperty("分组类别 0分组 1类别")
    private Integer type;
}
